package com.blog.entity;

import java.util.Date;

//评论实体
public class Comments {
    //    评论编号
    private Integer commentsId;
    //    评论文章的用户的ID
    private Integer userId;
    //    被评论文章的ID
    private Integer articleId;
    //    评论的内容
    private String commentsContent;
    //    发表评论的时间
    private Date commentsTime;

    public Integer getCommentsId() {
        return commentsId;
    }

    public void setCommentsId(Integer commentsId) {
        this.commentsId = commentsId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getArticleId() {
        return articleId;
    }

    public void setArticleId(Integer articleId) {
        this.articleId = articleId;
    }

    public String getCommentsContent() {
        return commentsContent;
    }

    public void setCommentsContent(String commentsContent) {
        this.commentsContent = commentsContent;
    }

    public Date getCommentsTime() {
        return commentsTime;
    }

    public void setCommentsTime(Date commentsTime) {
        this.commentsTime = commentsTime;
    }
}
